package com.meilai.project.mapper.finance.invoice;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.entity.finance.invoice.InvoiceApply;
import com.meilai.project.dto.finance.invoice.InvoiceApplySearchDTO;
import com.meilai.project.vo.finance.invoice.InvoiceApplyVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 开票申请表 Mapper 接口
 * </p>
 *
 * @author xhy
 * @since 2022-12-12
 */
public interface InvoiceApplyMapper extends BaseMapper<InvoiceApply> {

    List<InvoiceApplyVO> selectPageList(@Param("page") Page<InvoiceApplyVO> page, @Param("query") InvoiceApplySearchDTO searchDTO);

    InvoiceApplyVO getOneById(@Param("id") Long id);
}
